home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
httplg14.rdm
< prev
next >
Wrap
Text File
|
1996-02-22
|
1KB
|
41 lines
Short: Parses NCSA/CERN httpd logfile
Author: Armin Obersteiner <Armin.Obersteiner@giga.or.at> and Tomas Willis
Uploader: tomas@cae.wisc.edu (Tomas Willis)
Version: 1.4
Type: comm/tcp
Requires: AmiTCP 4.0 or above
> httplog.c
>
> (c) Armin Obersteiner
>
> Parsing ncsa/cern httpd logfile
>
> USAGE: httplog [-s <keyword>] [-l] <logfile>
>
> <logfile> - httpd <logfile>
> -l - long: country statistics
> -lt - long: time statistics
> -s <keyword> - search for <keyword>
Armin Obersteiner wrote a nice httpd log parser. I played with it, to suit
my fancy. First of all, I found that there were many numeric addresses in
my logfiles. That made for a large number of unidentified domains when run
with the -l flag. I didn't like that, so I invoked AmiTCP to find the name
that goes with the missing address. It doesn't always work, if the local
DNS server cannot find a name to go with an IP number, but when the server
is helpful, it does work. Next, I added all of the countries to be found
in the ISO 3166 document. Then, I made the output for -l sorted by
increasing number of hits.
Compiles under SAS/C 6.56 (sc link httplog.c)
Requires AmiTCP >=4.0
This distribution include source, an optimized 68030/68881 version and a
plain 68000/IEEE math version.
----
ciao,
tomas willis <tomas@cae.wisc.edu>